package com.zhiche.lisa.lspm.service.otm;

import com.zhiche.lisa.core.supports.BaseException;
import com.zhiche.lisa.lspm.dao.model.driver.DriverCheckin;

public interface ITransToOTMService {

    /**
     * 发送承运商信息到OTM
     * @param lspId
     * @throws BaseException
     */
    void sendLspToOtm(Long lspId) throws BaseException;

    /**
     * 发送司机信息到OTM
     * @param driverId
     * @throws BaseException
     */
    void sendDriverToOtm(Long driverId) throws BaseException;

    /**
     * 发送车辆信息到OTM
     * @param carrierId
     * @throws Throwable
     */
    void sendCarrierToOtm(Long carrierId) throws BaseException;


    /**
     * 发送报班信息到OTM
     * @param driverCheckin
     * @throws BaseException
     */
    void sendDriverCheckin(DriverCheckin driverCheckin) throws BaseException;

}
